<?php 

namespace app\admin\controller;

use think\Db;

class Category extends Base
{
	protected $datas;

	protected $table = 't_category';

	/**
	 * 分类列表
	 * @Author   Yichen
	 * @DateTime 2020-05-14T23:05:03+0800
	 * @return   [type]                   [description]
	 */
	public function categoryList()
	{
		$data = Db::name($this->table)->paginate(10);
		$this->assign('list', $data);
		return $this->fetch();
	}
}